#ifndef __BSP_ADC_H
#define __BSP_ADC_H
#include "gd32f30x.h"
#include "gd32f30x_timer.h"
#include "gd32f30x_dma.h"
#include "gd32f30x_adc.h"

#define LASWER_FRE_NUME		1024
#define ADC_CHANNEL_NUMER	2
//PWM
#define ADC_PWM_TMER_RCU	RCU_TIMER3
#define ADC_PWM_TMER		TIMER3
#define ADC_PWM_CH			TIMER_CH_3
//ADC
#define ADC_NUM_CH			ADC0
#define ADC_RCU				RCU_ADC0
#define ADC_EXTTRIG_CH      ADC0_1_EXTTRIG_REGULAR_T3_CH3


#endif


